home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 233 / Computer Shopper 233 / ComputerShopperDVD233.iso / Expert / DOSBox / DOSBox0.70-win32-installer.exe / README.txt < prev    next >
Encoding:
Text File  |  2007-03-02  |  43.8 KB  |  1,110 lines

  1. DOSBox v0.70
  2.  
  3.  
  4. =====
  5. NOTE: 
  6. =====
  7.  
  8. While we are hoping that one day DOSBox will run all programs ever
  9. made for the PC, we are not there yet. At present, DOSBox running
  10. on a high-end machine will roughly be the equivalent of a 486 PC.
  11. DOSBox can be configured to run a wide range of DOS games, from
  12. CGA/Tandy/PCjr classics up to games from the Quake era.
  13.  
  14.  
  15.  
  16. ======
  17. INDEX:
  18. ======
  19. 1. Quickstart
  20. 2. FAQ
  21. 3. Usage
  22. 4. Internal Programs
  23. 5. Special Keys
  24. 6. Mapper
  25. 7. Keyboard Layout
  26. 8. Serial Multiplayer feature
  27. 9. How to run resource-demanding games
  28. 10. Troubleshooting
  29. 11. The config file
  30. 12. The language file
  31. 13. Building your own version of DOSBox
  32. 14. Special thanks
  33. 15. Contact
  34.  
  35.  
  36. ==============
  37. 1. Quickstart:
  38. ==============
  39.  
  40. Type INTRO in DOSBox. That's it. 
  41.  
  42.  
  43. =======
  44. 2. FAQ:
  45. =======
  46.  
  47. Some Frequently Asked Questions:
  48.  
  49. Q: I've got a Z instead of a C at the prompt.
  50. Q: How do I change to fullscreen ?
  51. Q: My CD-ROM doesn't work.
  52. Q: The mouse doesn't work.
  53. Q: There is no sound.
  54. Q: The sound stutters or sounds stretched/weird.
  55. Q: I can't type \ or : in DOSBox.
  56. Q: The game/application can't find its CD-ROM.
  57. Q: The game/application runs much too slow!
  58. Q: Can DOSBox harm my computer?
  59. Q: I would like to change the memory size/cpu speed/ems/soundblaster IRQ.
  60. Q: What sound hardware does DOSBox presently emulate?
  61. Q: DOSBox crashes on startup and I'm running arts
  62. Q: Great README, but I still don't get it.
  63.  
  64.  
  65.  
  66.  
  67.  
  68. Q: I've got a Z instead of a C at the prompt.
  69. A: You have to make your directories available as drives in DOSBox by using
  70.    the "mount" command. For example, in Windows "mount C D:\GAMES" will give
  71.    you a C drive in DOSBox which points to your Windows D:\GAMES directory.
  72.    In Linux, "mount c /home/username" will give you a C drive in DOSBox
  73.    which points to /home/username in Linux.
  74.    To change to the drive mounted like above, type "C:". If everything went
  75.    fine, DOSBox will display the prompt "C:\>".
  76.  
  77.  
  78. Q: How do I change to fullscreen ?
  79. A: Press alt-enter. Alternatively: Edit the configuration file of DOSBox and 
  80.    change the option fullscreen=false to fullscreen=true. If fullscreen looks 
  81.    wrong in your opinion: Play with the option fullresolution in the 
  82.    configuration file of DOSBox. To get back from fullscreen mode:
  83.    Press alt-enter again.
  84.  
  85.  
  86. Q: My CD-ROM doesn't work.
  87. A: To mount your CD-ROM in DOSBox you have to specify some additional options 
  88.    when mounting the CD-ROM. 
  89.    To enable the most basic CD-ROM support:
  90.      - mount d f:\ -t cdrom
  91.    To enable low-level SDL-support:
  92.      - mount d f:\ -t cdrom -usecd 0
  93.    To enable low-level ioctl-support(win2k/xp/linux):
  94.      - mount d f:\ -t cdrom -usecd 0 -ioctl
  95.    To enable low-level aspi-support (win98 with aspi-layer installed):
  96.      - mount d f:\ -t cdrom -usecd 0 -aspi
  97.    
  98.    In the commands: - d   driveletter you will get in DOSBox
  99.                     - f:\ location of cdrom on your PC.
  100.                     - 0   The number of the CD-ROM drive, reported by mount -cd
  101.    See also the question: The game/application can't find its CD-ROM.
  102.  
  103.  
  104. Q: The mouse doesn't work.
  105. A: Usually, DOSBox detects when a game uses mouse control. When you click on 
  106.    the screen it should get locked (confined to the DOSBox window) and work. 
  107.    With certain games, the DOSBox mouse detection doesn't work. In that case 
  108.    you will have to lock the mouse manually by pressing CTRL-F10.
  109.  
  110.  
  111. Q: There is no sound.
  112. A: Be sure that the sound is correctly configured in the game. This might be
  113.    done during the installation or with a setup/setsound utility that 
  114.    accompanies the game. First see if an autodetection option is provided. If 
  115.    there is none try selecting soundblaster or soundblaster16 with the default
  116.    settings being "address=220 irq=7 dma=1". You might also want to select 
  117.    midi at address 330 as music device.
  118.    The parameters of the emulated soundcards can be changed in the DOSBox
  119.    configuration file.
  120.    If you still don't get any sound set the core to normal and use some lower
  121.    fixed cycles value (like cycles=2000). Also assure that your host operating
  122.    sound does provide sound.
  123.  
  124.  
  125. Q: The sound stutters or sounds stretched/weird.
  126. A: You're using too much cpu power to keep DOSBox running at the current speed.
  127.    You can  lower the cycles, skip frames or get a faster machine.
  128.    You can also increase the prebuffer in the configfile.
  129.    If you are using cycles=max or =auto, then make sure that there no
  130.    background processes interfering! (especially if they acces the harddisk)
  131.  
  132.  
  133. Q: I can't type \ or : in DOSBox.
  134. A: This is a known problem. It only occurs if your keyboard layout isn't US.
  135.    Some possible fixes:
  136.      1. Switch the keyboard layout of your operating system.
  137.      2. Use / instead.
  138.      3. Open dosbox.conf and change usescancodes=false to usescancodes=true.
  139.      4. Add the commands you want to execute to the "configfile".
  140.      5. Change the dos keyboard layout (see Section 7 Keyboard Layout).
  141.      6. Use ALT-58 for : and ALT-92 for \.
  142.      7. for \ try the keys around "enter". For ":" try shift and the keys 
  143.         between "enter" and "l" (US keyboard layout).
  144.      8. Try keyb.com from FreeDOS (http://projects.freedos.net/keyb/).
  145.         Look for keyb2.0 pre4 as older and newer versions are known to
  146.         have a bug in the loader routines.
  147.  
  148.  
  149. Q: The game/application can't find its CD-ROM.
  150. A: Be sure to mount the CD-ROM with -t cdrom switch, this will enable the
  151.    MSCDEX interface required by DOS games to interface with CD-ROMs.
  152.    Also try adding the correct label (-label LABEL). To enable lower-level
  153.    CD-ROM support, add the following switch to mount: -usecd #, where # is
  154.    the number of your CD-ROM drive reported by mount -cd. Under Windows you
  155.    can specify -ioctl or -aspi. Look at the description elsewhere in this
  156.    document for their meaning.
  157.  
  158.  
  159. Q: The game/application runs much too slow!
  160. A: Look at the section "How to run resource-demanding games" for more 
  161.    information.
  162.  
  163.  
  164. Q: Can DOSBox harm my computer?
  165. A: DOSBox can not harm your computer more than any other resource demanding
  166.    program. Increasing the cycles does not overclock your real CPU.
  167.    Setting the cycles too high has a negative performance effect on the
  168.    software running inside DOSBox.
  169.  
  170.  
  171. Q: I would like to change the memory size/cpu speed/ems/soundblaster IRQ.
  172. A: This is possible! Just create a config file: config -writeconf configfile.
  173.    Start your favourite editor and look through the settings. To start DOSBox
  174.    with your new settings: dosbox -conf configfile
  175.  
  176.  
  177. Q: What sound hardware does DOSBox presently emulate?
  178. A: DOSBox emulates several legacy sound devices:
  179.    - Internal PC speaker
  180.      This emulation includes both the tone generator and several forms of
  181.      digital sound output through the internal speaker.
  182.    - Creative CMS/Gameblaster
  183.      The is the first card released by Creative Labs(R).  The default 
  184.      configuration places it on port 0x220.  It should be noted that enabling 
  185.      this with the Adlib emulation may result in conflicts.
  186.    - Tandy 3 voice
  187.      The emulation of this sound hardware is complete with the exception of 
  188.      the noise channel. The noise channel is not very well documented and as 
  189.      such is only a best guess as to the sound's accuracy.
  190.    - Tandy DAC
  191.      Emulation of the Tandy DAC utilizes the soundblaster emulation, thus
  192.      be sure the soundblaster is not disabled in the DOSBox configuration
  193.      file. The Tandy DAC is only emulated at the BIOS level.
  194.    - Adlib
  195.      Borrowed from MAME, this emulation is almost perfect and includes the 
  196.      Adlib's ability to almost play digitized sound.
  197.    - SoundBlaster 16/ SoundBlaster Pro I & II /SoundBlaster I & II
  198.      By default DOSBox provides Soundblaster 16 level 16-bit stereo sound. 
  199.      You can select a different SoundBlaster version in the configfile of 
  200.      DOSBox (See Internal Commands: CONFIG).
  201.    - Disney Soundsource
  202.      Using the printer port, this sound device outputs digital sound only.
  203.    - Gravis Ultrasound
  204.      The emulation of this hardware is nearly complete, though the MIDI 
  205.      capabilities have been left out, since an MPU-401 has been 
  206.      emulated in other code.
  207.    - MPU-401
  208.      A MIDI passthrough interface is also emulated.  This method of sound 
  209.      output will only work when used with a General Midi or MT-32 device.
  210.  
  211.  
  212. Q: DOSBox crashes on startup and I'm running arts.
  213. A: This isn't really a DOSBox problem, but the solution is to set the 
  214.    environment variable SDL_AUDIODRIVER to alsa or oss.
  215.  
  216.  
  217. Q: Great README, but I still don't get it.
  218. A: A look at "The Newbie's pictorial guide to DOSBox" located at 
  219.    http://vogons.zetafleet.com/viewforum.php?f=39 might help you.
  220.    Also try the wiki of dosbox:
  221.    http://dosbox.sourceforge.net/wiki/
  222.  
  223.  
  224. For more questions read the remainder of this README and/or check 
  225. the site/forum:
  226. http://dosbox.sourceforge.net
  227.  
  228.  
  229.  
  230.  
  231. =========
  232. 3. Usage:
  233. =========
  234.  
  235. An overview of the command line options you can give to DOSBox.
  236. Windows Users must open cmd.exe or command.com or edit the shortcut to 
  237. DOSBox.exe for this.
  238. The options are valid for all operating systems unless noted in the option
  239. description:
  240.  
  241. dosbox [name] [-exit] [-c command] [-fullscreen] [-conf congfigfile] 
  242.        [-lang languagefile] [-machine machinetype] [-noconsole]
  243.        [-startmapper] [-noautoexec]
  244.        
  245. dosbox -version
  246.  
  247.   name   
  248.         If "name" is a directory it will mount that as the C: drive.
  249.         If "name" is an executable it will mount the directory of "name" 
  250.         as the C: drive and execute "name".
  251.     
  252.   -exit  
  253.         DOSBox will close itself when the DOS application "name" ends.
  254.  
  255.   -c command
  256.         Runs the specified command before running "name". Multiple commands
  257.         can be specified. Each command should start with "-c", though.
  258.         A command can be: an Internal Program, a DOS command or an executable 
  259.         on a mounted drive.
  260.  
  261.   -fullscreen
  262.         Starts DOSBox in fullscreen mode.
  263.  
  264.   -conf configfile
  265.         Start DOSBox with the options specified in "configfile".
  266.         Multiple -conf options may be present.
  267.         See Chapter 10 for more details.
  268.  
  269.   -lang languagefile
  270.         Start DOSBox using the language specified in "languagefile".
  271.  
  272.   -noconsole (Windows Only)
  273.         Start DOSBox without showing the console window. Output will
  274.         be redirected to stdout.txt and stderr.txt
  275.     
  276.   -machine machinetype
  277.         Setup DOSBox to emulate a specific type of machine. Valid choices are:
  278.         hercules, cga, pcjr, tandy, vga (default). The machinetype affects 
  279.         both the videocard and the available soundcards.
  280.  
  281.   -startmapper
  282.         Enter the keymapper directly on startup. Useful for people with 
  283.         keyboard problems.
  284.  
  285.   -noautoexec
  286.         Skips the [autoexec] section of the loaded configuration file.
  287.  
  288.   -version
  289.         output version information and exit. Useful for frontends.
  290.  
  291. Note: If a name/command/configfile/languagefile contains a space, put
  292.       the whole name/command/configfile/languagefile between quotes
  293.       ("command or file name"). If you need to use quotes within quotes
  294.       (most likely with -c and mount).
  295.       Windows and OS/2 users can use single quotes inside the double quotes. 
  296.       Other people should be able to use escaped double quotes inside the 
  297.       double quotes.
  298.       win -c "mount c 'c:\program files\'" 
  299.       linux -c "mount c \"/tmp/name with space\""
  300.  
  301. For example:
  302.  
  303. dosbox c:\atlantis\atlantis.exe -c "MOUNT D C:\SAVES"
  304.   This mounts c:\atlantis as c:\ and runs atlantis.exe.
  305.   Before it does that it would first mount C:\SAVES as the D drive.
  306.  
  307. In Windows, you can also drag directories/files onto the DOSBox executable.
  308.  
  309.  
  310.  
  311. =====================
  312. 4. Internal Programs:
  313. =====================
  314.  
  315. DOSBox supports most of the DOS commands found in command.com.
  316. To get a list of the internal commands type "HELP" at the prompt.
  317.  
  318. In addition, the following commands are available: 
  319.  
  320. MOUNT "Emulated Drive letter" "Real Drive or Directory" 
  321.       [-t type] [-aspi] [-ioctl] [-usecd number] [-size drivesize] 
  322.       [-label drivelabel] [-freesize size_in_mb]
  323. MOUNT -cd
  324. MOUNT -u "Emulated Drive letter"
  325.  
  326.   Program to mount local directories as drives inside DOSBox.
  327.  
  328.   "Emulated Drive letter"
  329.         The driveletter inside dosbox (eg. C).
  330.  
  331.   "Real Drive letter (usually for CD-ROMs in Windows) or Directory"
  332.         The local directory you want accessible inside dosbox.
  333.  
  334.   -t type
  335.         Type of the mounted directory. Supported are: dir (default),
  336.         floppy, cdrom.
  337.  
  338.   -size drivesize
  339.         Sets the size of the drive.
  340.  
  341.   -freesize size_in_mb
  342.         Sets the amount of free space available on a drive in megabytes.
  343.         This is a simpler version of -size.    
  344.  
  345.   -label drivelabel
  346.         Sets the name of the drive to "drivelabel". Needed on some 
  347.         systems if the cd label isn't read correctly. Useful when a 
  348.         program can't find its cdrom. If you don't specify a label and no
  349.         lowlevel support is selected (-usecd # and/or -ioctl/aspi): 
  350.           For win32: label is extracted from "Real Drive".
  351.           For Linux: label is set to NO_LABEL.
  352.  
  353.         If you do specify a label, this label will be kept as long as the drive
  354.         is mounted. It will not be updated !!
  355.  
  356.   -aspi
  357.         Forces use of the aspi layer. Only valid if mounting a cdrom under 
  358.         Windows systems with an ASPI-Layer.
  359.  
  360.   -ioctl   
  361.         Forces use of ioctl commands. Only valid if mounting a cdrom under 
  362.         a Windows OS which support them (Win2000/XP/NT).
  363.  
  364.   -usecd number
  365.         Forces  use of SDL cdrom support for drive number.
  366.         Number can be found by -cd. Valid on all systems.
  367.  
  368.   -cd
  369.         Displays all detected cdrom drives and their numbers. Use with -usecd.
  370.  
  371.   -u
  372.         Removes the mount. Doesn't work for Z:\.
  373.  
  374.   Note: It's possible to mount a local directory as cdrom drive. 
  375.         Hardware support is then missing.
  376.  
  377.   Basically MOUNT allows you to connect real hardware to DOSBox's emulated PC.
  378.   So MOUNT C C:\GAMES tells DOSBox to use your C:\GAMES directory as drive C:
  379.   in DOSBox. It also allows you to change the drive's letter identification
  380.   for programs that demand specific drive letters.
  381.   
  382.   For example: Touche: Adventures of The Fifth Musketeer must be run on your C:
  383.   drive. Using DOSBox and its mount command, you can trick the game into
  384.   believing it is on the C drive, while you can still place it where you
  385.   like. For example, if the game is in D:\OLDGAMES\TOUCHE, the command
  386.   MOUNT C D:\OLDGAMES will allow you to run Touche from the D drive.
  387.  
  388.   Mounting your entire C drive with MOUNT C C:\ is NOT recommended! The same
  389.   is true for mounting the root of any other drive, except for CD-ROMs (due to
  390.   their read-only nature). Otherwise if you or DOSBox make a mistakes you may
  391.   loose all your files.
  392.   It is recommended to put all your applications/games into a subdirectory
  393.   and mount that.
  394.  
  395.   General MOUNT Examples:
  396.   1. To mount c:\DirX as a floppy : 
  397.        mount a c:\DirX -t floppy
  398.   2. To mount system cdrom drive E as cdrom drive D in DOSBox:
  399.        mount d e:\ -t cdrom
  400.   3. To mount system cdrom drive at mountpoint /media/cdrom as cdrom drive D 
  401.      in dosbox:
  402.        mount d /media/cdrom -t cdrom -usecd 0
  403.   4. To mount a drive with 870 mb free diskspace (simple version):
  404.        mount c d:\ -freesize 870
  405.   5. To mount a drive with 870 mb free diskspace (experts only, full control):
  406.        mount c d:\ -size 4025,127,16513,1700
  407.   6. To mount /home/user/dirY as drive C in DOSBox:
  408.        mount c /home/user/dirY
  409.  
  410.  
  411. MEM
  412.   Program to display the amount of free memory.
  413.  
  414.  
  415. CONFIG [-writeconf] [-writelang] localfile
  416. CONFIG -set "section property=value"
  417. CONFIG -get "section property"
  418.  
  419.   CONFIG can be used to change or query various settings of DOSBox 
  420.   during runtime. It can save the current settings and language strings to
  421.   disk. Information about all possible sections and properties can 
  422.   be found in section 11 (The Config File).
  423.  
  424.   -writeconf localfile
  425.        Write the current configuration settings to file. "localfile" is 
  426.        located on the local drive, not a mounted drive in DOSBox. 
  427.        The configuration file controls various settings of DOSBox: 
  428.        the amount of emulated memory, the emulated soundcards and many more 
  429.        things. It allows access to AUTOEXEC.BAT as well.
  430.        See section 11 (The Config File) for more information.
  431.  
  432.   -writelang localfile
  433.        Write the current language settings to file. "localfile" is 
  434.        located on the local drive, not a mounted drive in DOSBox.
  435.        The language file controls all visible ouput of the internal commands
  436.        and the internal dos.
  437.  
  438.   -set "section property=value"
  439.        CONFIG will attempt to set the property to new value. At this moment
  440.        CONFIG can not report whether the command succeeded or not.
  441.  
  442.   -get "section property"
  443.        The current value of the property is reported and stored in the 
  444.        environment variable %CONFIG%. This can be used to store the value 
  445.        when using batch files.
  446.  
  447.   Both "-set" and "-get" work from batch files and can be used to set up your
  448.   own preferences for each game.
  449.   
  450.   Examples:
  451.   1. To create a configfile in your current directory:
  452.       config -writeconf dosbox.conf
  453.   2. To set the cpu cycles to 10000:
  454.       config -set "cpu cycles=10000"
  455.   3. To turn ems memory emulation off:
  456.       config -set "dos ems=off"
  457.   4. To check which cpu core is being used.
  458.       config -get "cpu core"
  459.  
  460.  
  461. LOADFIX [-size] [program] [program-parameters]
  462. LOADFIX -f
  463.   Program to reduce the amount of memory available. Useful for old programs 
  464.   which don't expect much memory to be free. 
  465.  
  466.   -size            
  467.         number of kilobytes to "eat up", default = 64kb
  468.   
  469.   -f
  470.         frees all previously allocated memory
  471.   
  472.  
  473. Examples:
  474.   1. To start mm2.exe and allocate 64kb memory 
  475.      (mm2 will have 64 kb less available) :
  476.      loadfix mm2
  477.   2. To start mm2.exe and allocate 32kb memory :
  478.      loadfix -32 mm2
  479.   3. To free previous allocated memory :
  480.      loadfix -f
  481.  
  482.  
  483. RESCAN
  484.   Make DOSBox reread the directory structure. Useful if you changed something
  485.   on a mounted drive outside of DOSBox. (CTRL - F4 does this as well!)
  486.   
  487.  
  488. MIXER
  489.   Makes DOSBox display its current volume settings. 
  490.   Here's how you can change them:
  491.   
  492.   mixer channel left:right [/NOSHOW] [/LISTMIDI]
  493.   
  494.   channel
  495.       Can be one of the following: MASTER, DISNEY, SPKR, GUS, SB, FM.
  496.   
  497.   left:right
  498.       The volume levels in percentages. If you put a D in front it will be
  499.       in deciBell (example mixer gus d-10).
  500.   
  501.   /NOSHOW
  502.       Prevents DOSBox from showing the result if you set one
  503.       of the volume levels.
  504.  
  505.   /LISTMIDI
  506.       Lists the available midi devices on your pc (Windows). To select a 
  507.       device other than the Windows default midi-mapper, add a line 
  508.       'config=id' to the [midi] section in the configuration file, where
  509.       'id' is the number for the device as listed by LISTMIDI.
  510.  
  511.  
  512. IMGMOUNT
  513.   A utility to mount disk images and CD-ROM images in DOSBox.
  514.   
  515.   IMGMOUNT DRIVE [imagefile] -t [image_type] -fs [image_format] 
  516.             -size [sectorsbytesize, sectorsperhead, heads, cylinders]
  517.  
  518.   imagefile
  519.       Location of the image files to mount in DOSBox. The location can
  520.       be on a mounted drive inside DOSBox, or on your real disk. It is
  521.       possible to mount CD-ROM images (ISOs or CUE/BIN) as well, if you
  522.       need CD swapping capabilities specify all images in succession.
  523.       The CDs can be swapped with CTRL-F4 at any time.
  524.    
  525.   -t 
  526.       The following are valid image types:
  527.         floppy: Specifies a floppy image or images.  DOSBox will automatically 
  528.                 identify the disk geometry ( 360K, 1.2MB, 720K, 1.44MB, etc).
  529.         iso:    Specifies a CD-ROM iso image.  The geometry is automatic and 
  530.                 set for this size. This can be an iso or a cue/bin.
  531.         hdd:    Specifies a harddrive image. The proper CHS geometry 
  532.                 must be set for this to work.
  533.  
  534.   -fs 
  535.       The following are valid file system formats:
  536.         iso:  Specifies the ISO 9660 CD-ROM format.
  537.         fat:  Specifies that the image uses the FAT file system. DOSBox will attempt
  538.               to mount this image as a drive in DOSBox and make the files 
  539.               available from inside DOSBox.
  540.         none: DOSBox will make no attempt to read the file system on the disk.
  541.               This is useful if you need to format it or if you want to boot 
  542.               the disk using the BOOT command.  When using the "none" 
  543.               filesystem, you must specify the drive number (2 or 3, 
  544.               where 2 = master, 3 = slave) rather than a drive letter.  
  545.               For example, to mount a 70MB image as the slave drive device, 
  546.               you would type:
  547.                 "imgmount 3 d:\test.img -size 512,63,16,142 -fs none" 
  548.                 (without the quotes)  Compare this with a mount to read the 
  549.                 drive in DOSBox, which would read as: 
  550.                 "imgmount e: d:\test.img -size 512,63,16,142"
  551.  
  552.   -size 
  553.      The Cylinders, Heads and Sectors specification of the drive.
  554.      Required to mount hard drive images.
  555.      
  556.   An example how to mount CD-ROM images:
  557.     1a. mount c /tmp
  558.     1b. imgmount d c:\myiso.iso -t iso
  559.   or (which also works):
  560.     2. imgmount d /tmp/myiso.iso -t iso
  561.  
  562.  
  563. BOOT
  564.   Boot will start floppy images or hard disk images independent of the 
  565.   operating system emulation offered by DOSBox. This will allow you to
  566.   play booter floppies or boot other operating systems inside DOSBox.
  567.   If the target emulated system is PCjr (machine=pcjr) the boot command
  568.   can be used to load PCjr cartridges (.jrc). 
  569.  
  570.   BOOT [diskimg1.img diskimg2.img .. diskimgN.img] [-l driveletter]
  571.   BOOT [cart.jrc]  (PCjr only)
  572.  
  573.   diskimgN.img 
  574.      This can be any number of floppy disk images one wants mounted after 
  575.      DOSBox boots the specified drive letter.
  576.      To swap between images, hit CTRL-F4 to change from the current disk 
  577.      to the next disk in the list. The list will loop back from the last 
  578.      disk image to the beginning.
  579.  
  580.   [-l driveletter]
  581.      This parameter allows you to specify the drive to boot from.  
  582.      The default is the A drive, the floppy drive.  You can also boot  
  583.      a hard drive image mounted as master by specifying "-l C" 
  584.      without the quotes, or the drive as slave by specifying "-l D"
  585.      
  586.    cart.jrc (PCjr only)
  587.      When emulation of a PCjr is enabled, cartridges can be loaded with
  588.      the BOOT command. Support is still limited.
  589.  
  590.  
  591. IPX
  592.  
  593.   You need to enable IPX networking in the configuration file of DOSBox.
  594.  
  595.   All of the IPX networking is managed through the internal DOSBox program 
  596.   IPXNET. For help on the IPX networking from inside DOSBox, type 
  597.   "IPXNET HELP" (without quotes) and the program will list the commands 
  598.   and relevant documentation. 
  599.  
  600.   With regard to actually setting up a network, one system needs to be 
  601.   the server. To set this up, type "IPXNET STARTSERVER" (without the quotes)
  602.   in a DOSBox session. The server DOSBox session will 
  603.   automatically add itself to the virtual IPX network. For every 
  604.   additional computer that should be part of the virtual IPX network, 
  605.   you'll need to type "IPXNET CONNECT <computer host name or IP>". 
  606.   For example, if your server is at bob.dosbox.com, 
  607.   you would type "IPXNET CONNECT bob.dosbox.com" on every non-server system. 
  608.   
  609.   To play games that need Netbios a file named NETBIOS.EXE from Novell is 
  610.   needed. Establish the IPX connection as explained above, then run 
  611.   "netbios.exe". 
  612.  
  613.   The following is an IPXNET command reference: 
  614.  
  615.   IPXNET CONNECT 
  616.  
  617.      IPXNET CONNECT opens a connection to an IPX tunnelling server 
  618.      running on another DOSBox session. The "address" parameter specifies 
  619.      the IP address or host name of the server computer. You can also 
  620.      specify the UDP port to use. By default IPXNET uses port 213 - the 
  621.      assigned IANA port for IPX tunnelling - for its connection. 
  622.  
  623.      The syntax for IPXNET CONNECT is: 
  624.      IPXNET CONNECT address <port> 
  625.  
  626.   IPXNET DISCONNECT 
  627.  
  628.      IPXNET DISCONNECT closes the connection to the IPX tunnelling server. 
  629.  
  630.      The syntax for IPXNET DISCONNECT is: 
  631.      IPXNET DISCONNECT 
  632.  
  633.   IPXNET STARTSERVER 
  634.  
  635.      IPXNET STARTSERVER starts and IPX tunneling server on this DOSBox 
  636.      session. By default, the server will accept connections on UDP port 
  637.      213, though this can be changed. Once the server is started, DOSBox 
  638.      will automatically start a client connection to the IPX tunnelling server.
  639.  
  640.      The syntax for IPXNET STARTSERVER is:
  641.      IPXNET STARTSERVER <port>
  642.  
  643.      If the server is behind a router, UDP port <port> needs to be forwarded
  644.      to that computer.
  645.  
  646.      On Linux/Unix-based systems port numbers smaller than 1023 can only be
  647.      used with root privileges. Use ports greater than 1023 on those systems.
  648.  
  649.   IPXNET STOPSERVER
  650.  
  651.      IPXNET STOPSERVER stops the IPX tunnelling server running on this DOSBox
  652.      session. Care should be taken to ensure that all other connections have 
  653.      terminated as well, since stopping the server may cause lockups on other 
  654.      machines that are still using the IPX tunnelling server. 
  655.  
  656.      The syntax for IPXNET STOPSERVER is: 
  657.      IPXNET STOPSERVER 
  658.  
  659.   IPXNET PING
  660.  
  661.      IPXNET PING broadcasts a ping request through the IPX tunnelled network. 
  662.      In response, all other connected computers will respond to the ping 
  663.      and report the time it took to receive and send the ping message. 
  664.  
  665.      The syntax for IPXNET PING is: 
  666.      IPXNET PING
  667.  
  668.   IPXNET STATUS
  669.  
  670.      IPXNET STATUS reports the current state of this DOSBox session's 
  671.      IPX tunnelling network. For a list of all computers connected to the 
  672.      network use the IPXNET PING command. 
  673.  
  674.      The syntax for IPXNET STATUS is: 
  675.      IPXNET STATUS 
  676.  
  677.  
  678. KEYB [languagecode [codepage [codepagefile]]]
  679.   Change the keyboard layout. For detailed information about keyboard
  680.   layouts please see Section 7.
  681.  
  682.   [languagecode] is a string consisting of two (in special cases more)
  683.      characters, examples are GK (Greece) or IT (Italy). It specifies
  684.      the keyboard layout to be used.
  685.  
  686.   [codepage] is the number of the codepage to be used. The keyboard layout
  687.      has to provide support for the specified codepage, otherwise the layout
  688.      loading will fail.
  689.      If no codepage is specified, an appropriate codepage for the requested
  690.      layout is chosen automatically.
  691.  
  692.   [codepagefile] can be used to load codepages that are yet not compiled
  693.      into DOSBox. This is only needed when DOSBox does not find the codepage.
  694.  
  695.  
  696.   Examples:
  697.   1) To load the german keyboard layout (automatically uses codepage 858):
  698.        keyb gr
  699.   2) To load the russian keyboard layout with codepage 866:
  700.        keyb ru 866
  701.      In order to type russian characters press ALT+RIGHT-SHIFT.
  702.   3) To load the french keyboard layout with codepage 850 (where the
  703.      codepage is defined in EGACPI.DAT):
  704.        keyb fr 850 EGACPI.DAT
  705.   4) To load codepage 858 (without a keyboard layout):
  706.        keyb none 858
  707.      This can be used to change the codepage for the freedos keyb2 utility.
  708.  
  709.  
  710.  
  711. For more information use the /? command line switch with the programs.
  712.  
  713.  
  714.  
  715.  
  716. ================
  717. 5. Special Keys:
  718. ================
  719.  
  720. ALT-ENTER     Switch to full screen and back.
  721. ALT-PAUSE     Pause emulation.
  722. CTRL-F1       Start the keymapper.
  723. CTRL-F4       Change between mounted disk-images. Update directory cache for all drives!
  724. CTRL-ALT-F5   Start/Stop creating a movie of the screen. (avi video capturing)
  725. CTRL-F5       Save a screenshot. (png)
  726. CTRL-F6       Start/Stop recording sound output to a wave file.
  727. CTRL-ALT-F7   Start/Stop recording of OPL commands.
  728. CTRL-ALT-F8   Start/Stop the recording of raw MIDI commands.
  729. CTRL-F7       Decrease frameskip.
  730. CTRL-F8       Increase frameskip.
  731. CTRL-F9       Kill dosbox.
  732. CTRL-F10      Capture/Release the mouse.
  733. CTRL-F11      Slow down emulation (Decrease DOSBox Cycles).
  734. CTRL-F12      Speed up emulation (Increase DOSBox Cycles).
  735. ALT-F12       Unlock speed (turbo button).
  736.  
  737. These are the default keybindings. They can be changed in the keymapper.
  738.  
  739. Saved/recorded files can be found in current_directory/capture 
  740. (can be changed in the configfile). 
  741. The directory has to exist prior to starting DOSBox, otherwise nothing 
  742. gets saved/recorded !
  743.  
  744.  
  745. NOTE: Once you increase your DOSBox cycles beyond your computer's maximum
  746. capacity, it will produce the same effect as slowing down the emulation.
  747. This maximum will vary from computer to computer.
  748.  
  749.  
  750.  
  751. ==========
  752. 6. Mapper:
  753. ==========
  754.  
  755. When you start the DOSBox mapper (either with CTRL-F1 or -startmapper as
  756. a command line argument to the DOSBox executable) you are presented with 
  757. a virtual keyboard and a virtual joystick.
  758.  
  759. These virtual devices correspond to the keys DOSBox will report to the
  760. DOS applications. If you click on a key with your mouse, you can see in
  761. the lower left corner with which event it is associated (EVENT) and to
  762. what events it is currently bound.
  763.  
  764. Event: EVENT
  765. BIND: BIND
  766.                         Add   Del
  767. mod1  hold                    Next
  768. mod2
  769. mod3
  770.  
  771.  
  772. EVENT
  773.     The key or joystick axis/button/hat DOSBox will report to DOS applications.
  774. BIND
  775.     The key on your real keyboard or the axis/button/hat on your real
  776.     joystick(s) (as reported by SDL) which is connected to the EVENT.
  777. mod1,2,3 
  778.     Modfiers. These are keys you need to have to be pressed while pressing
  779.     BIND. mod1 = CTRL and mod2 = ALT. These are generally only used when you
  780.     want to change the special keys of DOSBox.
  781. Add 
  782.     Add a new BIND to this EVENT. Basically add a key from your keyboard or an
  783.     event from the joystick (button press, axis/hat movement) which will 
  784.     produce the EVENT in DOSBox.
  785. Del 
  786.     Delete the BIND to this EVENT. If an EVENT has no BINDS, then it is not
  787.     possible to trigger this event in DOSBox (that is there's no way to type
  788.     the key or use the respective action of the joystick).
  789. Next
  790.     Go through the list of bindings which map to this EVENT.
  791.  
  792.  
  793. Example:
  794. Q1. You want to have the X on your keyboard to type a Z in DOSBox.
  795.     A. Click on the Z on the keyboard mapper. Click "Add". 
  796.        Now press the X key on your keyboard. 
  797.  
  798. Q2. If you click "Next" a couple of times, you will notice that the Z on your 
  799.     keyboard also produces an Z in DOSBox.
  800.     A. Therefore select the Z again, and click "Next" until you have the Z on 
  801.        your keyboard. Now click "Del".
  802.  
  803. Q3. If you try it out in DOSBox, you will notice that pressing X makes ZX
  804.     appear.
  805.      A. The X on your keyboard is still mapped to the X as well! Click on
  806.         the X in the keyboard mapper and search with "Next" until you find the 
  807.         mapped key X. Click "Del".
  808.  
  809.  
  810. Examples about remapping the joystick:
  811.   You have a joystick attached, it is working fine under DOSBox and you
  812.   want to play some keyboard-only game with the joystick (it is assumed
  813.   that the game is controlled by the arrows on the keyboard):
  814.     1) Start the mapper, then klick on one of the arrows in the middle
  815.        of the left part of the screen (right above the Mod1/Mod2 buttons).
  816.        EVENT should be key_left. Now klick on Add and move your joystick
  817.        in the respective direction, this should add an event to the BIND.
  818.     2) Repeat the above for the missing three directions, additionally
  819.        the buttons of the joystick can be remapped as well (fire/jump).
  820.     3) Click on Save, then on Exit and test it with some game.
  821.  
  822.   You want to swap the y-axis of the joystick because some flightsim uses
  823.   the up/down joystick movement in a way you don't like, and it is not
  824.   configurable in the game itself:
  825.     1) Start the mapper and klick on Y- in the upper joystick field (this
  826.        is for the first joystick if you have two joysticks attached) or the
  827.        lower joystick field (second joystick or, if you have only one
  828.        joystick attached, the second axes cross).
  829.        EVENT should be jaxis_0_1- (or jaxis_1_1-).
  830.     2) Click on Del to remove the current binding, then klick Add and move
  831.        your joystick downwards. A new bind should be created.
  832.     3) Repeat this for Y+, save the layout and finally test it with some game.
  833.  
  834.  
  835.  
  836. If you change the default mapping, you can save your changes by clicking on
  837. "Save". DOSBox will save the mapping to a location specified in the configfile
  838. (mapperfile=mapper.txt). At startup, DOSBox will load your mapperfile, if it
  839. is present in the configfile.
  840.  
  841.  
  842.  
  843. ===================
  844. 7. Keyboard Layout:
  845. ===================
  846.  
  847. To switch to a different keyboard layout, either the entry "keyboardlayout"
  848. in the [dos]-section in dosbox.conf can be used, or the internal DOSBox
  849. program keyb.com. Both accept dos-conform language codes (see below), but
  850. only by using keyb.com a custom codepage can be specified.
  851.  
  852. Layout switching
  853.   DOSBox supports a number of keyboard layouts and codepages by default,
  854.   in this case just the layout identifier needs to be specified (like
  855.   keyboardlayout=sv in the DOSBox config file, or using "keyb sv" at
  856.   the DOSBox command prompt).
  857.   
  858.   Internally supported keyboard layouts:
  859.   BG (Bulgaria), CZ243 (Czech Republic), FR (France), GK (Greece),
  860.   GR (Germany), HR (Croatia), HU (Hungary), IT (Italy), NL (Netherlands),
  861.   NO (Norway), PL (Poland), RU (Russian Federation), SK (Slovakia), SP (Spain),
  862.   SU (Finland), SV (Sweden)
  863.  
  864.   When a keyboard layout is loaded, it is possible to switch between the
  865.   foreign layout and the US-layout by pressing CTRL+ALT+F2.
  866.   Some keyboard layouts (for example layout GK codepage 869 and layout RU
  867.   codepage 808) have support for dual-layouts that can be activated by
  868.   pressing LEFT-ALT+RIGHT-SHIFT and deactivated by LEFT-ALT+LEFT-SHIFT.
  869.  
  870. Supported external files
  871.   The freedos .kl files are supported (freedos keyb2 keyboard layoutfiles) as
  872.   well as the freedos keyboard.sys/keybrd2.sys/keybrd3.sys libraries which
  873.   consist of all available .kl files.
  874.   See http://projects.freedos.net/keyb/ for precompiled keyboard layouts.
  875.  
  876.   Both .CPI (MSDOS/compatible codepage files) and .CPX (freedos UPX-compressed
  877.   codepage files) can be used. Some codepages are compiled into DOSBox so it
  878.   is mostly not needed to care about external codepage files. If you need
  879.   a different (or custom) codepage file, copy it into the directory of the
  880.   DOSBox configuration file so it is accessible for DOSBox.
  881.  
  882.   Additional layouts can be added by copying the corresponding .kl-file into
  883.   the directory of dosbox.conf and using the first part of the filename as
  884.   language code.
  885.   Example: For the file UZ.KL (keyboard layout for Uzbekistan) specify
  886.            "keyboardlayout=uz" in dosbox.conf.
  887.  
  888.  
  889. Note that the keyboard layout allows foreign characters to be entered, but
  890. there is NO support for them in filenames. Try to avoid them both inside
  891. DOSBox as well as in files on your host operating system that are accessible
  892. by DOSBox.
  893.  
  894.  
  895.  
  896. ==============================
  897. 8. Serial Multiplayer feature:
  898. ==============================
  899.  
  900. DOSBox can emulate a serial nullmodem cable over network and internet.
  901. It can be configured through the [serialports] section in the DOSBox
  902. configuration file.
  903.  
  904. To create a nullmodem connection, one side needs to act as the server and
  905. one as the client.
  906.  
  907. The server needs to be set up in the DOSBox configuration file like this:
  908.    serial1=nullmodem
  909.  
  910. The client:
  911.    serial1=nullmodem server:<IP or name of the server>
  912.  
  913. Now start your game and choose nullmodem / serial cable / already connected
  914. as multiplayer method on COM1. Set the same baudrate on both computers.
  915.  
  916. Furthermore, additional parameters can be specified to control the behavior
  917. of the nullmodem connection. These are all parameters:
  918.  
  919.  * port:         - TCP port number. Default: 23
  920.  * rxdelay:      - how long (milliseconds) to delay received data if the
  921.                    interface is not ready. Increase this value if you encounter
  922.                    overrun errors in the DOSBox Status Window. Default: 100
  923.  * txdelay:      - how long to gather data before sending a packet. Default: 12
  924.                    (reduces Network overhead)
  925.  * server:       - This nullmodem will be a client connecting to the specified
  926.                    server. (No server argument: be a server.)
  927.  * transparent:1 - Only send the serial data, no RTS/DTR handshake. Use this
  928.                    when connecting to anyting other than a nullmodem.
  929.  * telnet:1      - Interpret Telnet data from the remote site. Automatically
  930.                    sets transparent.
  931.  * usedtr:1      - The connection will not be established until DTR is switched
  932.                    on by the DOS program. Useful for modem terminals.
  933.                    Automatically sets transparent.
  934.  * inhsocket:1   - Use a socket passed to DOSBox by command line. Automatically
  935.                    sets transparent. (Socket Inheritance: It is used for
  936.                    playing old DOS door games on new BBS software.)
  937.  
  938. Example: Be a server listening on TCP port 5000.
  939.    serial1=nullmodem server:<IP or name of the server> port:5000 rxdelay:1000
  940.  
  941.  
  942.  
  943. =======================================
  944. 9. How to run resource-demanding games: 
  945. =======================================
  946.  
  947. DOSBox emulates the CPU, the sound and graphic cards, and other peripherals
  948. of a PC, all at the same time. The speed of an emulated DOS application
  949. depends on how many instructions can be emulated, which is adjustable
  950. (number of cycles).
  951.  
  952. CPU Cycles
  953.   By default (cycles=auto) DOSBox tries to detect whether a game needs to
  954.   be run with as many instructions emulated per time interval as possible.
  955.   You can force this behaviour by setting cycles=max in the DOSBox
  956.   configuration file. The DOSBox window will display a line "Cpu Cyles: max"
  957.   at the top then. In this mode you can reduce the amount of cycles on a
  958.   percentage-basis (hit CTRL-F11) or raise it again (CTRL-F12).
  959.   
  960.   Sometimes customly setting the number of cycles achieves better results,
  961.   in the DOSBox configuration file specify for example cycles=30000. When
  962.   running some DOS application you can raise the cycles with CTRL-F12 even
  963.   more, but you will be limited by the power of your actual CPU. You can see
  964.   how much free time your true CPU has by looking at the Task Manager in
  965.   Windows 2000/XP and the System Monitor in Windows 95/98/ME. Once 100% of
  966.   your real CPU time is used there is no further way to speed up DOSBox
  967.   unless you reduce the load generated by the non-CPU parts of DOSBox. 
  968.  
  969. CPU Cores
  970.   On x86 architectures you can try to force the usage of a dynamically
  971.   recompiling core (set core=dynamic in the DOSBox configuration file).
  972.   This usually gives better results if the auto detection (core=auto) fails.
  973.   It is best accompanied by cycles=max. Note that there might be games
  974.   that work worse with the dynamic core, or do not work at all!
  975.  
  976. Graphics emulation
  977.   VGA emulation is a very demanding part of DOSBox in terms of actual CPU
  978.   usage. Increase the number of frames skipped (in increments of one) by
  979.   pressing CTRL-F8. Your CPU usage should decrease when using a fixed
  980.   cycle setting.
  981.   Go back one step and repeat this until the game runs fast enough for you.
  982.   Please note that this is a trade-off: you lose in fluidity of video what
  983.   you gain in speed.
  984.  
  985. Sound emulation
  986.   You can also try to disable the sound through the setup utility of the game
  987.   to reduce load on your CPU further. Setting nosound=true does NOT disable
  988.   the emulation of sound devices, just the sound output will be disabled.
  989.  
  990. Also try to close every program but DOSBox to reserve as much resources
  991. as possible for DOSBox.
  992.  
  993.  
  994. Advanced cycles configuration:
  995. The cycles=auto and cycles=max settings can be parametrized to have
  996. different startup defaults. The syntax is
  997.   cycles=auto ["realmode default"] ["protected mode default"%] 
  998.               [limit "cycle limit"]
  999.   cycles=max ["protected mode default"%] [limit "cycle limit"]
  1000. Example:
  1001.   cycles=auto 1000 80% limit 20000
  1002.   will use cycles=1000 for real mode games, 80% cpu throttling for 
  1003.   protected mode games along with a hard cycle limit of 20000
  1004.  
  1005.  
  1006.  
  1007. ====================
  1008. 10. Troubleshooting:
  1009. ====================
  1010.  
  1011. DOSBox crashes right after starting it:
  1012.   - use different values for the output= entry in your DOSBox
  1013.     configuration file
  1014.   - try to update your graphics card driver and DirectX
  1015.  
  1016. Running a certain game closes DOSBox, crashes with some message or hangs:
  1017.   - see if it works with a default DOSBox installation
  1018.     (unmodified configuration file)
  1019.   - try it with sound disabled (use the sound configuration
  1020.     program that comes with the game, additionally you can
  1021.     use sbtype=none and gus=false)
  1022.   - change some entries of the DOSBox configuration file, especially try:
  1023.       core=normal
  1024.       fixed cycles (for example cycles=10000)
  1025.       ems=false
  1026.       xms=false
  1027.     or combinations of the above settings
  1028.   - use loadfix before starting the game
  1029.  
  1030. The game exits to the DOSBox prompt with some error message:
  1031.   - read the error message closely and try to locate the error
  1032.   - try the hints at the above sections
  1033.   - mount differently as some games are picky about the locations,
  1034.     for example if you used "mount d d:\oldgames\game" try
  1035.     "mount c d:\oldgames\game" and "mount c d:\oldgames"
  1036.   - if the game requires a cdrom be sure you used "-t cdrom" when
  1037.     mounting and try different additional parameters
  1038.   - check the file permissions of the game files (remove read-only
  1039.     attributes, add write permissions etc.)
  1040.   - try reinstalling the game within dosbox
  1041.  
  1042. ====================
  1043. 11. The Config File:
  1044. ====================
  1045.  
  1046. A config file can be generated by CONFIG.COM, which can be found on the 
  1047. internal dosbox Z: drive when you start up dosbox. Look in the internal 
  1048. programs section of the readme for usage of CONFIG.COM.
  1049. You can edit the generated configfile to customize DOSBox.
  1050.  
  1051. The file is divided into several sections (the names have [] around it). 
  1052. Some sections have options you can set.
  1053. # and % indicate comment-lines. 
  1054. The generated configfile contains the current settings. You can alter them and
  1055. start DOSBox with the -conf switch to load the file and use these settings.
  1056.  
  1057. DOSBox will first parse the settings in ~/.dosboxrc (Linux),
  1058. ~\dosbox.conf (Win32) or "~/Library/Preferences/DOSBox Preferences"
  1059. (MACOSX). Afterwards DOSBox will parse all configfiles specified with the 
  1060. -conf switch. If no configfile is specified with the -conf switch, DOSBox will 
  1061. look in the current directory for dosbox.conf.
  1062.  
  1063.  
  1064.  
  1065. ======================
  1066. 12. The Language File:
  1067. ======================
  1068.  
  1069. A language file can be generated by CONFIG.COM. 
  1070. Read it, and you will hopefully understand how to change it. 
  1071. Start DOSBox with the -lang switch to use your new language file.
  1072. Alternatively, you can setup the filename in the config file in the [dosbox]
  1073. section. There's a language= entry that can be changed with the filename.
  1074.  
  1075.  
  1076.  
  1077. ========================================
  1078. 13. Building your own version of DOSBox:
  1079. ========================================
  1080.  
  1081. Download the source.
  1082. Check the INSTALL in the source distribution.
  1083.  
  1084.  
  1085.  
  1086. ===================
  1087. 14. Special thanks:
  1088. ===================
  1089.  
  1090. Vlad R. of the VDMSound project for excellent SoundBlaster info.
  1091. Tatsuyuki Satoh of the Mame Team for making an excellent FM emulator.
  1092. The Bochs and DOSemu projects, which I used for information.
  1093. Freedos for ideas in making my shell.
  1094. Pierre-Yves GΘrardy for hosting the old Beta Board.
  1095. Colin Snover for hosting our forum.
  1096. Jantien for the version management.
  1097. Shawn and Johannes for creating the MAC OS X PPC version.
  1098. Ido Beeri for the icon.
  1099. The Beta Testers.
  1100.  
  1101.  
  1102.  
  1103. ============
  1104. 15. Contact:
  1105. ============
  1106.  
  1107. See the site: 
  1108. http://dosbox.sourceforge.net
  1109. for an email address (The Crew-page).
  1110.